﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using SmartSpace.Core;

namespace SmartSpace.OA
{
    /// <summary>
    /// 考勤记录
    /// </summary>
    [Table("oa_attendancerecord")]
    public class AttendanceRecord : IKeyEntity
    {
        [Key]
        public Guid Id { get; set; }
        public string Account { get; set; }
        public DateTime? InTime { get; set; }
        public DateTime? OutTime { get; set; }
        public int Year { get; set; }
        public int Month { get; set; }
        public int Day { get; set; }

        public void Validation()
        {
        }
    }
}
